from fastapi import APIRouter

app01 = APIRouter()

@app01.get('/get')
async def get_test():
    return {'message':'这里是Get请求响应的数据'}


@app01.post('/post')
async def post_test():
    return {'message':'这里是Post请求响应的数据'}